package com.wallet.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 钱包
 * @author zhangguangyuang
 */
@Data
@TableName("t_wallet")
@AllArgsConstructor
@NoArgsConstructor
public class WalletEntity extends BaseEntity {
    //序列化
    private static final long serialVersionUID = 1L;
    /**
     * 钱包id
     */
    private Integer walletId;
    /**
     * 钱包的金额
     */
    private BigDecimal money;
    /**
     * 用户id
     */
    private Integer userId;
}
